<?php 
$user=$session->read('User');
$companyid=$session->read("companyid");
$isflag=$action->checkPermissions($user,$companyid);
$id=$form->value('CompAchievement.id');
//debug($obj);
?>
<div class="right_side_operate_area">
	<div class="right_side_title left">
    	<h2>
		<?php 
			$companyname=$session->read("companyname");
			echo $html->link($companyname,"/companys/showinfosummary/".$companyid);
		?>
    	</h2>
    	<div class='clear'></div>
    </div>
    <div class="right back_btn">
    	<?php echo $html->link("返回","/companys/depcosts/");?>
    </div>
    <div class="right back_btn">
			<?php echo $html->link(__("Edit",true),"/companys/editachieve/".$id."?sta=".$_GET['status'],null,null);?>
	</div>
    <div class="clear"></div>
</div>
<div class="right_side_scollbar">
    <div class="detail_info_panel">
	<?php if($_GET['status']=="1"){?>
		<div class="details_item_line">
			<div class="details_item">
				<div class="form_left_title left">产出成果数：</div>
			   	<div class="form_right_input  left">
			    	<?php echo $form->value('CompAchievement.output_achievement');?>
			    </div>
			</div>
     	</div>
     	<div class="details_item_line">
            <div class="details_item">
                <div class="form_left_title left">备注：</div>
                <div class="form_right_input left">
                <?php echo $form->value('CompAchievement.output_remark');?>
                </div>
            </div>
        </div>  
	<?php }?>
	<?php	if($_GET['status']=="2"){?>
		<div class="details_item_line">
			<div class="details_item">
				<div class="form_left_title left">获奖成果数：</div>
			   	<div class="form_right_input  left">
			    	<?php echo $form->value('CompAchievement.award_achievement');?>
			    </div>
			</div>
     	</div>
     	<div class="details_item_line">
            <div class="details_item">
                <div class="form_left_title left">备注：</div>
                <div class="form_right_input left">
                <?php echo $form->value('CompAchievement.award_remark');?>
                </div>
            </div>
        </div>  
	<?php }?>
    </div>
</div>